Modeling and Testing Hierarchical GUIs
نویسندگان
چکیده
This paper presents a new approach to model and test hierarchical Graphical User Interfaces (GUIs). We exploit the structure of Hierarchical Finite State Machines (HFSMs) to reduce the number of states in the ”flat” Finite State Machine (FSM) resulting from the exploration of the model. Firstly, independent dialogs are identified and highlighted in a HFSM built from the FSM. Then, the portion of the FSM that describes each dialog is reduced. To illustrate the approach, we construct a model of the Notepad application, which is part of Microsoft Windows. The model is written in Spec♯ and is converted automatically to a FSM using the Spec Explorer tool developed at Microsoft Research. The HFSM is then defined and the total number of states of the FSM is reduced. Spec Explorer generates test cases from the FSM, and also tests the conformity between the specification and the implementation.
منابع مشابه
Hierarchical GUI Test Case Generation Using Automated Planning
ÐThe widespread use of GUIs for interacting with software is leading to the construction of more and more complex GUIs. With the growing complexity come challenges in testing the correctness of a GUI and its underlying software. We present a new technique to automatically generate test cases for GUIs that exploits planning, a well-developed and used technique in artificial intelligence. Given a...
متن کاملHierarchical GUI Test Case Generation UsingAutomated
|The widespread use of GUIs for interacting with software is leading to the construction of more and more complex GUIs. With the growing complexity comes challenges in testing the correctness of a GUI and its underlying software. We present a new technique to automatically generate test cases for GUIs that exploits planning, a well developed and used technique in artiicial intelligence. Given a...
متن کاملUsing a Goal - driven Approach toGenerate Test Cases for GUIsAtif
The widespread use of GUIs for interacting with software is leading to the construction of more and more complex GUIs. With the growing complexity comes challenges in testing the correctness of a GUI and the underlying software. We present a new technique to automatically generate test cases for GUIs that exploits planning, a well developed and used technique in ar-tiicial intelligence. Given a...
متن کاملProposal for DHCS 2007
Increasingly, collaborative Web interfaces such as those compiled at www.infosthetics.com use dynamic graphical user interfaces (GUIs), displaying information through nonlinearity (e.g., allowing users to choose their own paths), iconicity (e.g., displaying a map instead of a list of countries' names), and other novel, sophisticated visual strategies. While dynamic GUIs are currently more preva...
متن کاملGUI Testing and Automated Test Generation
The reader is introduced to the concept of automated regression tests in general as well as testing of Graphical User Interfaces (GUIs) in particular. Some of the special problems related with the latter kind of tests are described. We then proceed to describe a special tool to help covering the enormous test space usually connected with complex GUIs: the PATHS tool, originally proposed in [1]....
متن کامل